fix: fix CSRF configuration (#581) #789
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Open Prices unit and integration tests | |
on: | |
push: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.11" | |
steps: | |
#---------------------------------------------- | |
# check-out repo | |
#---------------------------------------------- | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
#---------------------------------------------- | |
# Launch checks and tests | |
#---------------------------------------------- | |
- name: Configure docker | |
run: | | |
# ensure a new line for .env file might not have it! | |
echo "" >> .env | |
# align user id | |
echo "USER_UID=$UID" >> .env | |
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> .env | |
- name: Launch tests | |
run: | | |
make tests |