Skip to content

Commit 41eb330

Browse files
committed
chore: fix
1 parent d7b407c commit 41eb330

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/check.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
concurrency:
1616
cancel-in-progress: false
17-
group: checks-${{ github.event_name }}
17+
group: checks-${{ github.ref }}
1818

1919
jobs:
2020
build:
@@ -172,6 +172,8 @@ jobs:
172172

173173
name: Python Support
174174

175+
needs: [build]
176+
175177
strategy:
176178
fail-fast: false
177179
matrix:
@@ -211,7 +213,9 @@ jobs:
211213
python-version: ${{ matrix.python-version }}
212214

213215
- name: Run Python tests
214-
run: yarn test-python
216+
env:
217+
TEST_USER_TOKEN: ${{ secrets.APIFY_TEST_USER_API_TOKEN }}
218+
run: yarn test:python
215219

216220
docs:
217221
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
@@ -293,6 +297,7 @@ jobs:
293297
if: ${{ matrix.os != 'windows-11-arm' }}
294298
with:
295299
bun-version-file: .bun-version
300+
no-cache: true
296301

297302
- name: Install bun (Windows ARM)
298303
if: ${{ matrix.os == 'windows-11-arm' }}

test/local/__fixtures__/commands/run/python/python-scrapy-template-works.test.ts renamed to test/api/__fixtures__/commands/python/python-scrapy-template-works.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { existsSync, readFileSync } from 'node:fs';
22
import { join } from 'node:path';
33

4-
import { runCommand } from '../../../../../../src/lib/command-framework/apify-command.js';
5-
import { getLocalDatasetPath } from '../../../../../../src/lib/utils.js';
6-
import { safeLogin, useAuthSetup } from '../../../../../__setup__/hooks/useAuthSetup.js';
7-
import { useTempPath } from '../../../../../__setup__/hooks/useTempPath.js';
4+
import { runCommand } from '../../../../../src/lib/command-framework/apify-command.js';
5+
import { getLocalDatasetPath } from '../../../../../src/lib/utils.js';
6+
import { safeLogin, useAuthSetup } from '../../../../__setup__/hooks/useAuthSetup.js';
7+
import { useTempPath } from '../../../../__setup__/hooks/useTempPath.js';
88

99
const actorName = 'python-scrapy-template-works';
1010

@@ -17,8 +17,8 @@ const { beforeAllCalls, afterAllCalls, joinPath, toggleCwdBetweenFullAndParentPa
1717

1818
useAuthSetup({ perTest: false });
1919

20-
const { CreateCommand } = await import('../../../../../../src/commands/create.js');
21-
const { RunCommand } = await import('../../../../../../src/commands/run.js');
20+
const { CreateCommand } = await import('../../../../../src/commands/create.js');
21+
const { RunCommand } = await import('../../../../../src/commands/run.js');
2222

2323
describe('[python] scrapy template works', () => {
2424
beforeAll(async () => {

0 commit comments

Comments
 (0)