Remove outdated billing code #103
This file contains hidden or 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
| on: [push, pull_request] | |
| name: Tests (Web) | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22.x' | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r ./web/tests/requirements.txt | |
| - name: Install playwright browsers | |
| run: python -m playwright install --with-deps | |
| - name: Set up Docker | |
| uses: docker/setup-buildx-action@master | |
| - name: Run tests | |
| run: | | |
| git submodule init | |
| git submodule update | |
| export YEETFILE_ENV_FILE=.tests.env | |
| docker compose rm -f | |
| docker compose pull | |
| docker compose up --build -d | |
| docker compose logs | |
| pytest -vx -s --tracing=retain-on-failure ./web/tests/test_single_user.py | |
| pytest -vx -s --tracing=retain-on-failure ./web/tests/test_multi_user.py |